﻿namespace MicroCloud.EventBuses
{
    /// <summary>
    /// 事件处理器 <see cref="IEventHandler"/> 工厂接口
    /// </summary>
    public interface IEventHandlerFactory
    {
        /// <summary>
        /// 获取事件处理器实例
        /// </summary>
        /// <returns></returns>
        EventHandlerDisposeWrapper GetHandler();

    }
}
